package com.ruoyi.patrol.domain;

import org.activiti.api.task.model.Task;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 安保人员对象 pt_guard
 *
 * @author lkm
 * @date 2022-11-09
 */
public class PtGuard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 安保人员ID */
    private String id;

    /** 流程实例ID */
//    @Excel(name = "流程实例ID",isExport = false)
    private String instanceId;

    /** 姓名 */
    @Excel(name = "姓名（必填）")
    private String guardName;

    /** 身份证号码 */
    @Excel(name = "身份证号码（必填）")
    private String guardIdcard;

    /** 性别（0：男，1：女） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知",combo = {"男", "女"})
    private String guardSex;

    /** 工龄 */
    @Excel(name = "工龄")
    private Integer guardWorkAge;

    /** 籍贯 */
    @Excel(name = "籍贯（格式：xx省xx市xx区/县）", width = 32)
    private String guardNativePlace;

    /** 保安公司 */
    @Excel(name = "安保公司（必填）")
    private String guardCompany;

    /** 保安证号码 */
    @Excel(name = "保安证号码")
    private String guardCertificateNumber;

    /** 证书地址 */
//    @Excel(name = "证书地址")
    private String guardCertificatePath;
    private String guardNocrimePath;

    /** 电话号码 */
    @Excel(name = "电话号码（必填）")
    private String guardPhonenumber;

    /** 政审情况 */
    @Excel(name = "政审情况（必填）",combo = {"合格","不合格"})
    private String guardPoliticalExamine;

    /** 身体状况 */
    @Excel(name = "身体状况（必填）",combo = {"健康","亚健康","疾病"})
    private String guardPhysicalCondition;

    /** 身体状况 */
//    @Excel(name = "学校ID",isExport = false)
    private Long schoolId;

    private String schoolName;
//    @Excel(name = "流程状态", readConverterExp = "0=未提交,1=未审核,2=已退回,3=已通过",isExport = false)
    private String status;
private Long schoolGroupId;

    public Long getSchoolGroupId() {
        return schoolGroupId;
    }

    public void setSchoolGroupId(Long schoolGroupId) {
        this.schoolGroupId = schoolGroupId;
    }

    private Task task;

    private PtProcessOpinion ptProcessOpinion;

    private List<PtProcessOpinion> ptProcessOpinions;

    private int isAgree;

    private String opinion;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setInstanceId(String instanceId)
    {
        this.instanceId = instanceId;
    }

    public String getInstanceId()
    {
        return instanceId;
    }
    public void setGuardName(String guardName)
    {
        this.guardName = guardName;
    }

    public String getGuardName()
    {
        return guardName;
    }
    public void setGuardIdcard(String guardIdcard)
    {
        this.guardIdcard = guardIdcard;
    }

    public String getGuardIdcard()
    {
        return guardIdcard;
    }
    public void setGuardSex(String guardSex)
    {
        this.guardSex = guardSex;
    }

    public String getGuardSex()
    {
        return guardSex;
    }
    public void setGuardWorkAge(Integer guardWorkAge)
    {
        this.guardWorkAge = guardWorkAge;
    }

    public Integer getGuardWorkAge()
    {
        return guardWorkAge;
    }
    public void setGuardNativePlace(String guardNativePlace)
    {
        this.guardNativePlace = guardNativePlace;
    }

    public String getGuardNativePlace()
    {
        return guardNativePlace;
    }
    public void setGuardCompany(String guardCompany)
    {
        this.guardCompany = guardCompany;
    }

    public String getGuardCompany()
    {
        return guardCompany;
    }
    public void setGuardCertificateNumber(String guardCertificateNumber)
    {
        this.guardCertificateNumber = guardCertificateNumber;
    }

    public String getGuardCertificateNumber()
    {
        return guardCertificateNumber;
    }
    public void setGuardCertificatePath(String guardCertificatePath)
    {
        this.guardCertificatePath = guardCertificatePath;
    }

    public String getGuardCertificatePath()
    {
        return guardCertificatePath;
    }
    public void setGuardPhonenumber(String guardPhonenumber)
    {
        this.guardPhonenumber = guardPhonenumber;
    }

    public String getGuardPhonenumber()
    {
        return guardPhonenumber;
    }
    public void setGuardPoliticalExamine(String guardPoliticalExamine)
    {
        this.guardPoliticalExamine = guardPoliticalExamine;
    }

    public String getGuardPoliticalExamine()
    {
        return guardPoliticalExamine;
    }
    public void setGuardPhysicalCondition(String guardPhysicalCondition)
    {
        this.guardPhysicalCondition = guardPhysicalCondition;
    }

    public String getGuardPhysicalCondition()
    {
        return guardPhysicalCondition;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public PtProcessOpinion getPtProcessOpinion() {
        return ptProcessOpinion;
    }

    public void setPtProcessOpinion(PtProcessOpinion ptProcessOpinion) {
        this.ptProcessOpinion = ptProcessOpinion;
    }

    public List<PtProcessOpinion> getPtProcessOpinions() {
        return ptProcessOpinions;
    }

    public void setPtProcessOpinions(List<PtProcessOpinion> ptProcessOpinions) {
        this.ptProcessOpinions = ptProcessOpinions;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public int getIsAgree() {
        return isAgree;
    }

    public void setIsAgree(int isAgree) {
        this.isAgree = isAgree;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getGuardNocrimePath() {
        return guardNocrimePath;
    }

    public void setGuardNocrimePath(String guardNocrimePath) {
        this.guardNocrimePath = guardNocrimePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("instanceId", getInstanceId())
            .append("guardName", getGuardName())
            .append("guardIdcard", getGuardIdcard())
            .append("guardSex", getGuardSex())
            .append("guardWorkAge", getGuardWorkAge())
            .append("guardNativePlace", getGuardNativePlace())
            .append("guardCompany", getGuardCompany())
            .append("guardCertificateNumber", getGuardCertificateNumber())
            .append("guardCertificatePath", getGuardCertificatePath())
            .append("guardPhonenumber", getGuardPhonenumber())
            .append("guardPoliticalExamine", getGuardPoliticalExamine())
            .append("guardPhysicalCondition", getGuardPhysicalCondition())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("schoolId", getSchoolId())
            .toString();
    }
}
